package design.mode.spring;

import org.springframework.context.ApplicationEvent;

// event事件
public class DemoEvent extends ApplicationEvent {

    private String message;

    public DemoEvent(Object source) {
        super(source);
    }

    public String getMessage(){
        return message;
    }
}
